<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>pmaimai
		<?php echo $title_for_layout;?>
	</title>
	<?php
		echo $html->charset();

		echo $html->css('contented8');

		echo $scripts_for_layout;
	?>
</head>
<body>
<div id="header">

<h1 id="title">pmaimai</h1>

<div id="slogan">Social Network Service</div>

<?php echo $this->renderElement($navi);?>

</div> 

<!-- end header -->

<div id="content">
			<?php
				if ($session->check('Message.flash')):
						$session->flash();
				endif;
			?>

			<?php echo $content_for_layout;?>



</div> <!-- end content -->


<div id="footer">

<div id="copyrightdesign">
pmaimai by <a href="http://code.google.com/p/pmaimai/">Pmaimai Project</a> |
Design by <a href="http://ContentedDesigns.org/">Contented Designs</a><br />
<?php echo $html->link('会員規約', array('controller' => 'static', 'action' => 'rule',));?> |
プライバシーポリシー
</div>

</div> <!-- end footer -->

	<?php echo $cakeDebug?>
</body>
</html>